FROM openjdk:17-jdk

WORKDIR /app
COPY ./ruoyi-admin/target/*.jar /app/ruoyi-admin.jar

ENTRYPOINT ["java","-jar","/app/ruoyi-admin.jar"]

EXPOSE 8080